package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogDao {
   void  insertLog(Log log);

    List<Log> selectLogByPage(@Param("offset")Integer offset, @Param("limit")Integer limit,
                              @Param("content")String content,@Param("type")String type);

    Integer selectCount(@Param("content")String content,@Param("type")String type);

    void deleteLogMany(Integer[] ids);

    List<String> selectAllType();

    List<Log> selectAllLog();
}
